package 中国.杨森.实验室.jpa.sqlserver;

import java.time.LocalDateTime;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Entity
@Table(name = "DS_List")
@ToString
public class 过车记录
{
	@Getter
	@Setter
	@Id
	@Column(name = "Guid")
	@GeneratedValue(strategy = GenerationType.AUTO)
	private String id;
	
	@Getter
	@Setter
	@Column(name = "LaneNo")
	private int 车道号;
	
	@Getter
	@Setter
	@Column(name = "VehPlateAuto")
	private String 车牌;
	
	@Getter
	@Setter
	@Column(name = "Tonnage")
	private double 重量;
	
	@Getter
	@Setter
	@Column(name = "Axis")
	private int 轴数;
	
	@Getter
	@Setter
	@Column(name = "CreateTime")
	private LocalDateTime 时间;
}
